package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务申请对象 pension_services
 * 
 * @author ruoyi
 * @date 2021-07-09
 */
public class PensionServices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long pId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long publicuserId;
    private String  UserName;

    /** 服务名称 */
    @Excel(name = "服务名称")
    private String pName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pCreateTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pUpdateTime;

    /** 0审核中1通过2拒绝 */
    @Excel(name = "0审核中1通过2拒绝")
    private Long pState;

    /** 理由 */
    @Excel(name = "理由")
    private String pContent;

    /** 处理人 */
    @Excel(name = "处理人")
    private String pUserName;

    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }
    public void setPublicuserId(Long publicuserId) 
    {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId() 
    {
        return publicuserId;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setpCreateTime(Date pCreateTime) 
    {
        this.pCreateTime = pCreateTime;
    }

    public Date getpCreateTime() 
    {
        return pCreateTime;
    }
    public void setpUpdateTime(Date pUpdateTime) 
    {
        this.pUpdateTime = pUpdateTime;
    }

    public Date getpUpdateTime() 
    {
        return pUpdateTime;
    }
    public void setpState(Long pState) 
    {
        this.pState = pState;
    }

    public Long getpState() 
    {
        return pState;
    }
    public void setpContent(String pContent) 
    {
        this.pContent = pContent;
    }

    public String getpContent() 
    {
        return pContent;
    }
    public void setpUserName(String pUserName) 
    {
        this.pUserName = pUserName;
    }

    public String getpUserName() 
    {
        return pUserName;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pId", getpId())
            .append("publicuserId", getPublicuserId())
            .append("pName", getpName())
            .append("pCreateTime", getpCreateTime())
            .append("pUpdateTime", getpUpdateTime())
            .append("pState", getpState())
            .append("pContent", getpContent())
            .append("pUserName", getpUserName())
            .toString();
    }
}
